Skip to main content

printCommand

Type​

property

Summary​

Specifies the command line used for printing a PostScript|PostScript file.

Syntax​

set the printCommand to <commandLine>

Description​

Use the printCommand property to control which program is used to print on Unix systems.

The value of the printCommand must be a valid Unix command line. The string "%s" is a placeholder for the print file name LiveCode sends to the printing command.

The setting of this property has no effect on Mac OS or Windows systems.

Examples​

set the printCommand to "/usr/bin/printme %s"
set the printCommand to "mv %s output.ps" -- puts output in a file

Value​

NameTypeDescription

value

The printCommand is a string. By default, the printCommand property is set to "lp %s". ("lp" is the standard line-printer command.).

command: print

glossary: property, Unix, PostScript, command line

keyword: string

property: printColors, printScale

Compatibility and Support​

Introduced

LiveCode 1.0

OS

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?